package com.glorystone.ins.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

public @Data class SysAuth {

    private Long tid;

    private String text;

    private String url;

    private String description;

    private Long parentId;

    private Integer level;

    private String iconcls;

    private Integer sort;

    private Long createBy;

    @JsonSerialize(using = CustomLocalDateTimeSerializer.class)
    private LocalDateTime createTime;

    @JsonSerialize(using = CustomLocalDateTimeSerializer.class)
    private LocalDateTime updateTime;

    private Long updateBy;

    private Integer delFlag;

}